Platform Explorer / Nuxeo Platform 2021.51

Component org.nuxeo.ecm.platform.rendition.scheduler

Resolution Order

485
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.rendition.scheduler">

  <extension target="org.nuxeo.ecm.core.scheduler.SchedulerService"
    point="schedule">
    <schedule id="storedRenditionsCleanup">
      <event>storedRenditionsCleanup</event>
      <!-- every day at 11.59 PM -->
      <cronExpression>0 59 23 * * ?</cronExpression>
    </schedule>
  </extension>

  <extension target="org.nuxeo.ecm.core.event.EventServiceComponent"
    point="listener">
    <listener name="storedRenditionsCleanup" async="true" postCommit="true"
      class="org.nuxeo.ecm.platform.rendition.listener.StoredRenditionsCleanupListener">
      <event>storedRenditionsCleanup</event>
    </listener>
  </extension>

</component>